package com.kehutong.payfees.enums;

import org.coraframework.util.HashID;

/**
 * Author:  peter
 * Date:    2020/7/25
 * Function:催缴任务执行状态
 */
public enum CallRunState implements HashID {

    NONE("0", ""),
    UNSEND("1", "未发送"),
    SENDED("2", "已发送"),
    SEND_SUCCESS("3", "发送成功"),
    SEND_FAILED("4", "发送失败"),
    ;
    private final String id;
    private final String desc;

    CallRunState(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}